<!DOCTYPE html>
{% load staticfiles %}
<html>
<head>
  <!--设置block区域，给后面继承的页面引用  -->
  <title>{% block title %}{% endblock %}</title>
    <!--引入静态文件-->
  <link href="{% static 'css/blog.css' %}" rel="stylesheet">
</head>
<body>
  <div id="content">
     <!--设置contentblock -->
    {% block content %}
    {% endblock %}
  </div>
  <div id="sidebar">
    <h2>My blog</h2>
      <p>This is my blog.</p>
  </div>
</body>
</html>
